using System;
using Mysoft.Dbf.Writers;

namespace Mysoft.Dbf
{
    public class ExportByContentAttribute : ExportToDBFAttributeBase
    {
        Type _contentType;
        public ExportByContentAttribute(Type contentType)
        {
            _contentType = contentType;
        }

        public override IWriter GetWriter()
        {
            return new ContentWriter(_contentType);
        }
    }
}
